<#assign base=request.contextPath>
<!DOCTYPE html> 
<html>
	<head>
		<title>${title}</title>
		<meta charset="utf-8">
		<#include "common/reference.ftl" />
		<#include "common/am.reference.ftl" />
	</head>
	<body class="${configs["skinName"]}">
		<div class="page-content">
			<div class="row">
			<#include "common/breadcrumb.ftl">
				<form id="form" role="form" class="form-horizontal" method="post" action="${base}/${form_action}">
					<div class="col-xs-12">
						<div class="widget-box">
							<div class="widget-body">
								<input type="hidden" name="id" id="id" value="${id}">

								<div class="alert alert-warning">
									<strong>提示!</strong>
									<strong style="color:#dd514c;">出现红框</strong>的表示不能为空
								</div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        地区
                                    </label>
                                    <div class="col-sm-6">
									${area_name}
                                    </div>
                                </div>
								<div class="form-group">
									<label class="col-sm-3 control-label no-padding-right">
										服务业务名称
									</label>
									<div class="col-sm-6">
										${serviceName}
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-3 control-label no-padding-right">
										免费取消订单时间
									</label>
									<div class="col-sm-6 input-group">
										<input type="text" id="freeCancelMinute" name="freeCancelMinute" value="${model.freeCancelMinute}" class="form-control" required placeholder="请输入支付定金比例">
										<span class="input-group-addon">分钟</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-3 control-label no-padding-right">
										两公里内一位乘客价格(元)
									</label>
									<div class="col-sm-6 input-group">
										<input type="text" id="onePersonInTwoKm" name="onePersonInTwoKm" value="${model.onePersonInTwoKm}" class="form-control" required placeholder="请输入两公里内一位乘客价格(元)">
										<span class="input-group-addon">元</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-3 control-label no-padding-right">
										两公里内两位个乘客价格(元)
									</label>
									<div class="col-sm-6 input-group">
										<input type="text" id="twoPersonInTwoKm" name="twoPersonInTwoKm" value="${model.twoPersonInTwoKm}" class="form-control" required placeholder="请输入两公里内两位个乘客价格(元)">
										<span class="input-group-addon">元</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-3 control-label no-padding-right">
										两公里内三位个乘客价格(元)
									</label>
									<div class="col-sm-6 input-group">
										<input type="text" id="threePersonInTwoKm" name="threePersonInTwoKm" value="${model.threePersonInTwoKm}" class="form-control" required placeholder="请输入两公里内三位个乘客价格(元)">
										<span class="input-group-addon">元</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-3 control-label no-padding-right">
										两公里内四位个乘客价格(元)
									</label>
									<div class="col-sm-6 input-group">
										<input type="text" id="fourPersonInTwoKm" name="fourPersonInTwoKm" value="${model.fourPersonInTwoKm}" class="form-control" required placeholder="请输入两公里内四位个乘客价格(元)">
										<span class="input-group-addon">元</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-3 control-label no-padding-right">
										白天超过两公里单价(元/公里)
									</label>
									<div class="col-sm-6 input-group">
										<input type="text" id="kmPriceOutTwoKmOfDay" name="kmPriceOutTwoKmOfDay" value="${model.kmPriceOutTwoKmOfDay}" class="form-control" required placeholder="请输入白天超过两公里单价(元/公里)">
										<span class="input-group-addon">元/公里</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-3 control-label no-padding-right">
										晚上超过两公里单价(元/公里)
									</label>
									<div class="col-sm-6 input-group">
										<input type="text" id="kmPriceOutTwoKmOfNight" name="kmPriceOutTwoKmOfNight" value="${model.kmPriceOutTwoKmOfNight}" class="form-control" required placeholder="请输入晚上超过两公里单价(元/公里)">
										<span class="input-group-addon">元/公里</span>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-3 control-label no-padding-right">
										支付定金比例
									</label>
									<div class="col-sm-6 input-group">
										<input type="text" id="payDepositRatio" name="payDepositRatio" value="${model.payDepositRatio}" class="form-control js-pattern-number" required min="0.0" placeholder="请输入支付定金比例">
										<span class="input-group-addon">%</span>
									</div>
								</div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        分公司收费比例
                                    </label>
                                    <div class="col-sm-6 input-group">
                                        <input type="text" id="subChargeRatio" name="subChargeRatio" value="${model.subChargeRatio}" class="form-control js-pattern-number" required placeholder="请输入分公司收费比例">
                                        <span class="input-group-addon">%</span>
                                    </div>
                                </div>
								<div class="form-group">
									<label class="col-sm-3 control-label no-padding-right">
										公司收费比例
									</label>
									<div class="col-sm-6 input-group">
										<input type="text" id="chargeRatio" name="chargeRatio" value="${model.chargeRatio}" class="form-control js-pattern-number" required placeholder="请输入公司收费比例">
										<span class="input-group-addon">%</span>
									</div>
								</div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label no-padding-right">
                                        是否启用
                                    </label>
                                    <div class="col-sm-6">
                                        <input class="ace ace-switch ace-switch-7" type="checkbox" name="enabled" <#if config != null && config.enabled gt 0>checked="checked"</#if> <#if viewMode == "view">disabled</#if>>
                                        <span class="lbl"></span>
                                    </div>
                                </div>
								<div class="clearfix form-actions">
									<div class="col-md-offset-3 col-md-9">
										<button id="btnSubmit" class="btn btn-info" type="submit">
											<i class="fa fa-check bigger-110"></i>
											提 交
										</button>
									</div>
								</div>
							</div>
						</div>
					</div>
				</form>
			</div>	
		</div>
		<script type="text/javascript">
		$(function(){
			$('#form').validator();
		})
		</script>
	</body>
</html>